06. Create an IAM Role

Create an IAM Role

Here, you'll create an IAM role that you will later attach to your Redshift cluster to enable your cluster to load data from Amazon S3 buckets. Read more about IAM roles and Redshift here.

  1. Once you have signed into the AWS management console, navigate to the IAM service dashboard.
  2. In the left navigation pane, choose Roles.
  3. Choose Create role.

IAM Roles dashbaord

IAM Roles dashbaord

  1. In the AWS Service group as the trusted entity, and choose Redshift service.
  2. Under Select your use case, choose Redshift - Customizable, and then Next: Permissions.

Select Redshift service, and *Redshift - Customizable* use case

Select Redshift service, and Redshift - Customizable use case

  1. On the Attach permissions policies page, search for and select the AmazonS3ReadOnlyAccess policy, and then click on the Next: Tags button.
  2. Tags are optional. Click on the Next: Review button.

Select a policy to attach to the new role

Select a policy to attach to the new role

  1. For Role name, enter myRedshiftRole, and then choose Create Role.

Provide role name and description

Provide role name and description

  1. You will see a success message when the new role will be created.

Role created successfully

Role created successfully

That's great! On the next page, you'll learn to attach this role to a new/existing cluster